import { createSSRApp } from 'vue'

import uView from './uni_modules/vk-uview-ui'
import App from './App.vue'
import Vuex from 'vuex'
import store from './store'

export function createApp() {
  const app = createSSRApp(App)
  
  // 注册插件
  app.use(uView)
  app.use(store)
  
  return {
    app,
    Vuex,
  }
}
